package com.woniuxy.service;

import com.woniuxy.entity.DriverManagement;
import com.woniuxy.entity.dto.PartnerDTO;
import com.woniuxy.util.PageData;
import com.woniuxy.util.ResponseData;
import org.springframework.web.bind.annotation.RequestBody;

import java.text.ParseException;
import java.util.List;

public interface DriverManagementService {
    ResponseData<?> queryAllPartner(PageData<DriverManagement> pageData);
    ResponseData<?> addDriver(DriverManagement driverManagement) throws ParseException;
    ResponseData<?> updateDriver(DriverManagement driverManagement) throws ParseException;
    ResponseData<?> updateDriverStatus(DriverManagement driverManagement) ;
    ResponseData<?> batchUpdateStatus1(List<DriverManagement> driverManagements);
    ResponseData<?> batchUpdateStatus0(List<DriverManagement> driverManagements);
}
